package com.bjut.vendormgrsys.service;

import com.bjut.vendormgrsys.support.bo.UserBO;
import com.bjut.vendormgrsys.web.dto.other.Body5;
import com.bjut.vendormgrsys.web.dto.other.PositionInfo;
import com.bjut.vendormgrsys.web.dto.other.PositionSearch;
import com.bjut.vendormgrsys.web.dto.Status;

import java.util.List;

public interface PositionService {
    void savePositionPO(PositionInfo body, UserBO principal);

    void validPositionInfo(PositionInfo body);

    PositionInfo findById(String positionId, UserBO principal);

    long findAll(PositionSearch body, List<PositionInfo> items, UserBO principal);

    List<Status> findAllStatus(UserBO principal);

    void changeStatus(List<Body5> body);
}
